package models

import "time"

type MediaUserInstitution struct {
	ID                      int       `gorm:"primary_key" json:"id"`
	MediaUserId             int       `json:"media_user_id"`
	OtherAptitude           string    `json:"other_aptitude"`
	AuxData                 string    `json:"aux_data"`
	InstitutionName         string    `json:"institution_name"`
	InstitutionLicense      string    `json:"institution_license"`
	InstitutionConfirmation string    `json:"institution_confirmation"`
	InstitutionWebSite      string    `json:"institution_web_site"`
	InstitutionAddress      string    `json:"institution_address"`
	CreatedAt               time.Time `json:"created_at"`

	UpdatedAt time.Time `json:"updated_at"`
}

//修改默认表名
func (MediaUserInstitution) TableName() string {
	return "media_user_institution"
}
